home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -websites- / wirenet / files / wirenet151.lzx / Updates / StopNet < prev    next >
Text File  |  2018-09-20  |  461b  |  29 lines

  1. ; $VER: 1.5 StopNet (01.09.96)
  2.  
  3. If Exists AmiTCP:db/User-Stopnet
  4.     AmiTCP:db/User-Stopnet
  5. EndIf
  6.  
  7. If exists "ENV:Wirenet/UseMiami"
  8.     ; Stop Miami
  9.     rx "address 'MIAMI.1' 'QUIT'"
  10.     wait 2
  11. Else
  12.     ; Stop AmiTCP
  13.     Lab KillTCP
  14.     If `rx "Say Show(ports, AMITCP)"` EQ 0
  15.         skip NoTCP
  16.         EndIf
  17.  
  18.     rx "address AMITCP; KILL" ; Send "KILL" to AmiTCP
  19.     Wait 2
  20.     Skip KillTCP BACK
  21.  
  22.     Lab NoTCP
  23. EndIf
  24.  
  25. Avail Flush >NIL:
  26.  
  27. SetEnv NetState NoNet
  28.  
  29.